@import "color";
@import "width";

body,
ul,
dl,
dt,
dd,
p,
ol,
h1,
h2,
h3,
h4,
h5,
h6,
form,
input,
img,
table,
fieldset,
legend {
    margin: 0;
    padding: 0;
    font-size: 12px;
}

ul,
li,
ol {
    list-style: none;
}

img,
fieldset {
    border: 0;
}

img {
    display: block;
}

a {
    text-decoration: none;
    color: $acolor;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 100;
}

body {
    font-family: "微软雅黑";
    background: $bodycolor;
}

input,
a {
    outline: none;
}

%basestyle {
    width: $main-width;
    margin: 0 auto;
}

%Topastyle {
    color: $a1color;
    text-align: center;
    height: $Topheight;
    line-height: $Topheight;
    // border: $border-base;

    &:hover {
        color: $color;
    }
}

#header_top_wrap {
    background-color: $header-topcolor;
}

#header_top {
    @extend %basestyle;
    height: 30px;
    background: $header-topcolor;


    .header_top_left {
        float: left;
        display: $layout-base;
        width: 193.14px;
        justify-content: space-between;

        span {
            @extend %Topastyle;

            &:hover {
                color: $a1color;
            }
        }

        a {
            @extend %Topastyle;
        }
    }

    .header_top_left2 {
        float: left;

        a {
            @extend %Topastyle;
            width: 48px;
            padding: 0px 0px 0px 30px;
        }
    }
}

.header_top_right {

    float: right;
    display: block;
    width: 669.84px;
    height: 31.6px;
    display: $layout-base;
    justify-content: space-around;

    li {
        @extend %Topastyle;
        position: relative;
        width: 100px;
        height: 30px;

        i {
            position: absolute;
            right: 6px;
            top: 50%;
            margin-top: -2px;
            border-color: #999 transparent transparent;
            border-style: solid dashed dashed;
            border-width: 4px 4px 0;
            transition: transform .2s ease-in;
        }

        .arr1 {
            right: 2px;
        }

        .arr2 {
            right: 8px;
        }

        &:hover {
            i {

                transform: rotate(180deg);
            }
        }
    }

    .header_Tli {
        &:hover {
            background: $color;
            color: $index_containcolor;

            .xlcd {
                display: block;
                z-index: 1;
            }
        }

        a {
            &:hover {
                color: $index_containcolor;

                i {
                    border-color: $index_containcolor transparent transparent;
                }
            }
        }
    }

    .more {
        width: 66px;

        &:hover .arr2 {
            border-color: $index_containcolor transparent transparent;
        }

    }

    a {
        @extend %Topastyle;
    }

    .xlcd {
        background: $color;
        display: none;
        position: absolute;
        top: 30px;
        width: 120px;
        height: 280px;
        border: $border-base;

        a {
            display: block;
            font-size: 12px;
            color: $a1color;
            width: 80px;
            height: 30px;
            // border: 1px solid#f00;
            line-height: 30px;
            padding-left: 10px;
            text-align: left;
        }
    }

    .more_menu {
        width: 76px;
        height: 120px;
        right: 0px;

        .xl {
            &:hover {

                .xl_img {
                    display: block;
                }

            }

            .xl_img {
                position: absolute;
                display: none;
                width: 100px;
                height: 100px;
                border: $border-base;
                top: 10px;
                right: 100px;
                background: url(../img/header_top/xl.png) no-repeat center;
            }

            .wx_img {
                background: url(../img/header_top/wx.png) no-repeat center;

            }
        }
    }
}

/* 首页头部 logo及搜索框部分  */

#header_wrap {
    background: $color
}

#header {
    // @extend %basestyle;
    height: 143px;
    background: $headercolor;
    width: 100%;

    //   margin: 0 auto;
    .header_one,
    .header_xdxf {
        width: 1090px;
        height: 100px;
        // border: $border-base1;
        display: flex;
        align-items: center;
        z-index: 9999;
        margin: 0 auto;

        .header_logo {
            display: block;
            width: 330px;
            height: 65px;
            // border: $border-base1;
            background: url(../img/header/logo.png) no-repeat;
        }

        .header_input {
            width: 511px;
            height: 64px;
            // border: $border-base1;
            margin-left: 10px;
            margin-top: 28px;

            .header_search {
                position: relative;
                width: 510px;
                height: 40px;
                padding-left: 1px;
                background-color: #ff2337;
                border-radius: 40px;

                .header_search_wrap {
                    float: left;
                    margin: 2px 1px;
                    padding: 6px 39px 6px 30px;
                    background-color: #fff;
                    border-radius: 24px 0 0 24px;

                    .iconfont {
                        position: absolute;
                        display: inline-block;
                        top: 10px;
                        left: 10px;
                        width: 14px;
                        height: 14px;
                        font-size: 20px;
                        color: $a1color;

                    }

                    input {
                        border: 0px;
                        width: 406px;
                        height: 20px;
                        outline: none;
                        font-size: 13px;
                        margin: 2px 3px;
                        font-style: oblique;

                    }
                }

                .header_search_box {
                    width: 60px;
                    height: 40px;
                    background: #ff2337;
                    border-radius: 40px;
                    position: absolute;
                    top: 0;
                    right: 0;

                    .searchbtn {
                        display: inline-block;
                        height: 40px;
                        width: 50px;
                        font-size: 19px;
                        line-height: 40px;
                        color: #fff;
                        text-align: center;
                        cursor: pointer;
                        position: absolute;
                        top: 0;
                        right: 5px;
                        background: url(../img/header/searchbtn.png) no-repeat 50%;
                    }
                }
            }
        }


        .header_shop_car {
            margin-left: 40px;
            width: 110px;
            height: 40px;
            border: 2px solid #ff1e32;
            border-radius: 20px 20px 20px 20px;
            background: $color;
            display: flex;

            .header_car_img {
                margin-top: 8px;
                margin-left: 15px;
                display: block;
                width: 20px;
                height: 20px;
                // border: $border-base1;
                background: url(../img/header/header-shopcar.png) no-repeat 0 0;

            }

            .header_shop_car1 {
                display: block;
                width: 48px;
                height: 36px;
                font-size: 14px;
                color: #333333;
                padding: 0px 0px 0px 10px;
                margin-top: 10px;
                font-weight: 500px;

                &:hover {
                    color: #ff1e32;
                }
            }
        }

    }

    .header_one {
        width: 1090px;
        height: 100px;     
        margin: 0 auto;
    }

    .header_xdxf_wrap {
        z-index: 9999;
        border: 1px solid#888888;

        .header_xdxf {
            width: 1090px;
            height: 50px;
            display: flex;
            // border: 1px solid#000;
            background: #fff;
            // margin: 0 auto;

            a {
                display: block;
                width: 162px;
                height: 40px;
                line-height: 40px;
                outline: none;
                cursor: pointer;
                background-repeat: no-repeat;
                // background-size: auto 40px;
                background: url(../img/header/xdxf.png) no-repeat;
            }

            .header_input {
                // float: right;
                margin: -35px 300px;
            }
        }
    }




    .header_two {
        width: 1090px;
        height: 40px;
        // border: $border-base1;
        display: flex;
        margin: 0 auto;

        span {
            display: block;
            width: 15px;
            height: 12px;
            font-size: 22px;
            color: $color;
            position: absolute;
            left: 10px;
            top: 1px;
        }

        .allfl {
            position: relative;
            width: 164px;
            height: 40px;
            // border: $border-base1;
            background: linear-gradient(90deg, red, #ff3264);
            text-align: center;
            line-height: 40px;
            margin-left: -1px;

            i {
                width: 56px;
                height: 16px;
                // border: $border-base;
                font-size: 14px;
                font-style: normal;
                color: #fff;
            }

        }

        .header_two_list {
            width: 550px;
            height: 40px;
            // border: $border-base1;
            display: flex;
            margin-left: 25px;
            justify-content: space-around;
            align-items: center;

            a {
                display: block;
                color: #333333;
                font-size: 15px;

                &:hover {
                    color: #ff1e32;
                }
            }

            .one {
                a {
                    color: #ff1e32;
                }

            }

        }
    }
}





#footer {
    // @extend %basestyle;
    width: 100%;
    background: $color;
    height: 563px;

    // background: #333333;
    .footer_one {
        width: 1100px;
        height: 147px;
        // border: $border-base1;
        margin-left: -6px;
        margin: 0 auto;
        overflow: hidden;
        border-bottom: 1px solid#e9e9e9;


        .footer_one_ul {
            width: 1100px;
            height: 48px;
            // border: $border-base;
            margin: 50px;
            margin-left: -6px;
            display: flex;
            justify-content: space-around;


            li {
                width: 233px;
                height: 48px;
                // border: $border-base1;

                div {
                    width: 44px;
                    height: 44px;
                    border-radius: 50%;
                    border: 2px solid #d6d6d6;
                    text-align: center;
                    line-height: 44px;
                    font-size: 20px;
                    font-weight: 700;
                    // display: inline-block;
                    float: left;
                    margin-right: 12px;
                }

                b {
                    font-size: 18px;
                    font-weight: 700;
                    display: block;
                    line-height: 22px;
                }

                span {
                    font-size: 14px;
                    line-height: 22px;
                    display: block;
                }
            }
        }
    }

    .footer_two {
        width: 1100px;
        height: 263px;
        // border: $border-base1;
        margin-left: -6px;
        margin: 0 auto;

        .footer_two_ul {
            width: 1100px;
            height: 78px;
            // border: $border-base;
            margin-left: -6px;
            display: flex;
            justify-content: space-between;
            padding-top: 50px;

            li {
                width: 80px;
                height: 128px;
                // border: $border-base;

                &:nth-child(1) {
                    width: 258px;
                    height: 128px;
                    // border: $border-base2;

                    a {
                        width: 220px;
                        height: 43px;
                        // border: $border-base2;
                        display: block;
                        background: url(../img/header/logo.png) no-repeat;
                        margin-bottom: 20px;
                    }

                    .gzus {

                        width: 218px;
                        height: 32px;
                        // border: $border-base1;
                        line-height: 32px;
                        display: flex;
                        position: relative;

                        .weibo,
                        .weixin {
                            display: block;
                            width: 32px;
                            height: 32px;
                            // border: $border-base1;

                        }

                        .weibo {
                            background: url(../img/footer/footer_weibo.png) no-repeat;

                            margin-left: 15px;

                            &:hover {
                                +.weibo_yc {
                                    display: block;
                                }
                            }

                        }

                        .weibo_yc {
                            display: none;
                            width: 100px;
                            height: 100px;
                            background: url(../img/footer/weibo.png);
                            position: absolute;
                            top: 40px;
                            left: 20px;
                        }


                        .weixin {
                            background: url(../img/footer/footer-weixin.png) no-repeat;

                            margin-left: 10px;

                            &:hover {
                                +.weixin_yc {
                                    display: block;
                                }
                            }
                        }

                        .weixin_yc {
                            display: none;
                            width: 100px;
                            height: 100px;
                            background: url(../img/footer/weixin.png);
                            position: absolute;
                            top: 40px;
                            left: 90px;
                        }



                    }

                }

                &:nth-child(8) {
                    width: 108px;
                    height: 128px;

                    img {
                        display: block;
                        width: 108px;
                        height: 108px;
                        margin: 0px 0px 6px;
                    }

                    span {
                        text-align: center;
                        margin: 0px 0px 0px 10px;
                        color: #333333;
                    }
                }

                dt {
                    font-size: 18px;
                    font-weight: 400;
                }

                dd {
                    display: block;

                    line-height: 29px;

                    a {
                        &:hover {
                            text-decoration: underline;
                        }
                    }
                }



            }

        }
    }

    #footer_three_four_wrap {
        background: #333333;
        // width: 100%;
    }

    .footer_three {
        width: 1100px;
        height: 151.8px;
        // border: $border-base2;
        margin-left: -6px;
        margin: 0 auto;

        .footer_three_one {
            margin: 20px auto 0px;

            width: 760px;
            // border: $border-base2;
            display: flex;
            justify-content: space-between;

            span,
            a {
                color: #c2c2c2;
                line-height: 26px;
                text-align: center;
            }
        }

        .footer_three_two {
            width: 660px;
            // border: $border-base2;
            margin: 5px auto 0px;
            display: flex;
            justify-content: space-between;

            span {
                color: #c2c2c2;
                line-height: 26px;
                text-align: center;
            }
        }


        .footer_three_three {
            display: flex;
            width: 760px;
            // border: $border-base2;
            margin: 5px auto 0px;
            justify-content: space-between;

            a {
                color: #c2c2c2;
                line-height: 24px;
                text-align: center;
                display: block;


                &:hover {
                    text-decoration: underline;
                }

                &:nth-child(1) {
                    img {
                        width: 20px;
                        height: 20px;
                    }
                }
            }
        }

        .footer_three_four {
            width: 120px;
            height: 30px;
            // border: $border-base2;
            margin: 3px auto;
            display: flex;

            span {
                display: block;
                width: 80px;
                height: 30px;

                img {
                    display: block;

                    height: 30px;
                    border-radius: 5px;
                }

            }

            b {
                display: block;
                width: 28px;
                height: 30px;

                img {
                    display: block;
                    height: 30px;
                    margin: 2px 0 0 10px;
                }
            }
        }
    }



}